package com.zy.admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zy.admin.dao.AdminDao;
import com.zy.admin.entity.Admin;
import com.zy.admin.service.IAdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 29787
 */
@Service
public class IAdminServiceImpl extends ServiceImpl<AdminDao, Admin> implements IAdminService {

    @Autowired
    private AdminDao adminDao;

    @Override
    public Admin getAdmin(String adminNum, String adminPassword) {
        return adminDao.getAdmin(adminNum, adminPassword);
    }
}
